package test.内存模型;


import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by chengxiaoqi1 on 2018/3/23.
 */
public class HelloWorld {

    public static final Logger logger = LogManager.getLogger(HelloWorld.class.getName());

    public static void main(String[] args) {
        SimpleDateFormat sdf = new SimpleDateFormat("dd.MM.YYYY");
        String today = sdf.format(new Date());
        logger.info(today);
    }
}
